package io.p2p.stream.turn.handler;

import com.alibaba.fastjson.JSONObject;
import io.netty.channel.ChannelHandlerContext;

import java.net.InetSocketAddress;

public interface TurnBaseHandler {
    void process(ChannelHandlerContext ctx, InetSocketAddress remoteAddress, String buffer);
    void process(ChannelHandlerContext ctx, InetSocketAddress remoteAddress, JSONObject buffer);
    void process(ChannelHandlerContext ctx, InetSocketAddress remoteAddress, Byte[] buffer);
}
